﻿Public Class Form2

    Private Sub btnEnd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEnd.Click
        Me.Close()
    End Sub

    Private Sub btnGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGo.Click
        If txtID.Text = "Test" AndAlso txtPass.Text = "1234" Then
            Me.Hide()
            MessageBox.Show("歡迎光臨")
            Form3.Show()
        End If
    End Sub
End Class